<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<%@page import="com.dfhc.util.StringHelper"%>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="js/h-ui/html5shiv.js"></script>
<script type="text/javascript" src="js/h-ui/respond.min.js"></script>
<![endif]-->
<link href="css/h-ui/H-ui.min.css" rel="stylesheet" type="text/css" />
<link href="css/h-ui.admin/H-ui.login.css" rel="stylesheet" type="text/css" />
<link href="css/h-ui.admin/style.css" rel="stylesheet" type="text/css" />
<link href="css/hui-iconfont/1.0.8/iconfont.css" rel="stylesheet" type="text/css" />
<!--[if IE 6]>
<script type="text/javascript" src="js/h-ui/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>后台登录 - xxx 系统</title>
<meta name="keywords" content="H-ui.admin v3.1,H-ui网站后台模版,后台模版下载,后台管理系统模版,HTML后台模版下载">
<meta name="description" content="H-ui.admin v3.1，是一款由国人开发的轻量级扁平化网站后台模板，完全免费开源的网站后台管理系统模版，适合中小型CMS后台系统。">
<script src="<%=request.getContextPath()%>/js/jqGrid/jquery-1.10.2.min.js"></script> 
<script type="text/javascript" src="js/h-ui/H-ui.min.js"></script>
<%@ include file="/project/sample/login/loginRedirect.jsp" %>
<!-- js  获取项目路径 -->
<script src="js/jqGrid/requestPath.js"></script>
<script src="js/jqGrid/jquery.md5.js"></script>
<script src="js/jqGrid/app-pub.js"></script>
<script src="js/jqGrid/login.js"></script>
</head>
<body>
<div class="header"></div>
<div class="loginWraper">
  <div id="loginform" class="loginBox">
    <form class="form form-horizontal" id="loginForm"  method="post">
      <div class="row cl">
        <label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60d;</i></label>
        <div class="formControls col-xs-8">
          <input id="login_id" name="login_id" type="text" placeholder="登录名" class="input-text size-L">
        </div>
      </div>
      <div class="row cl">
        <label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60e;</i></label>
        <div class="formControls col-xs-8">
          <input id="password" name="password" type="password" placeholder="密码" class="input-text size-L">
        </div>
      </div>
      <div class="row cl">
        <div class="formControls col-xs-8 col-xs-offset-3">
          <input class="input-text size-L" type="text" name="verifyCode" placeholder="验证码" onblur="if(this.value==''){this.value='验证码:'}" onclick="if(this.value=='验证码:'){this.value='';}" value="验证码:" style="width:150px;">
         <img name="verifyCodeImg" title="看不清，请点击刷新。" id="verifyCodeImg" height="40" width="80" style="cursor:pointer" onclick="javascript:refreshcode();" src="<%=request.getContextPath()%>/jcaptcha" />  </div>
      </div>
      <div class="row cl">
        <div class="formControls col-xs-8 col-xs-offset-3">
          <label for="online">
            ${alertStr }</label>
        </div>
      </div>
      <div class="row cl">
        <div class="formControls col-xs-8 col-xs-offset-3">
          <input name="" type="button" class="btn btn-success radius size-L" value="&nbsp;登&nbsp;&nbsp;&nbsp;&nbsp;录&nbsp;" onclick="javascript:login()">
          <input name="" type="reset" class="btn btn-default radius size-L" value="&nbsp;取&nbsp;&nbsp;&nbsp;&nbsp;消&nbsp;">
        </div>
      </div>
	  <input type="hidden" name="isSubmit" value="1">
    </form>
  </div>
</div>
<div class="footer">Copyright 东方汇创(北京)软件公司 by H-ui.admin v3.1</div>

<script>
    //替换父窗口url 防止登录页面出现在子窗口
    if(top.location!=self.location){
		top.location = "<%=request.getContextPath()%>/";
	}
$(document).keydown(function(event){ 
			if(event.keyCode == 13){ //绑定回车 
				login();
			} 
		});
</script>
</body>
</html>